/*
 * Project: yesoft-core
 * File: WeCoreException.java
 * Package: com.yesoft.core.core.exception
 * Date: 2015年8月17日下午5:25:03
 * Version: V1.0
 * Copyright (c) 2015 YESOFT CHINA, Inc. All Rights Reserved.
 */
package com.ruoyi.ichen.base.exception;


import org.apache.http.HttpStatus;

/**
 * @ClassName: WeCoreException
 * @Description: 系统核心异常，不对外显示，只显示给开发参考
 * @author venlentine
 * @date: 2015年8月17日 下午5:25:03
 */
public class WeCoreException extends RuntimeException {

	/**
	 * @Fields serialVersionUID
	 */
	private static final long serialVersionUID = 6657424302696078198L;
	public int status = HttpStatus.SC_INTERNAL_SERVER_ERROR;

	public WeCoreException() {
	}

	public WeCoreException(String message) {
		super(message);
	}

	public WeCoreException(Throwable cause) {
		super(cause);
	}

	public WeCoreException(int status) {
		this.status = status;
	}

	public WeCoreException(int status, String message) {
		super(message);
		this.status = status;
	}
}